package com.supertimetable.activities;

import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;



/**
 * Created by Admin on 2018/1/13.
 */

public class AdeActivity extends AppCompatActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_ads);
        ActionBar actionBar = getSupportActionBar();
        if(actionBar != null){
            actionBar.hide();
        }
        new Handler().postDelayed(new Runnable() {
            @Override
            public void run() {
                Intent mainIntent = new Intent(AdeActivity.this,MainActivity.class);
                AdeActivity.this.startActivity(mainIntent);
                AdeActivity.this.finish();
                //overridePendingTransition(R.layout.activity_jump_face,R.layout.activity_login_face);
            }
        }, 500);
    }
}
